projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a774d6
)
open2300: make sure we pass our CFLAGS
author
Florian Fainelli
<
[email protected]
>
Sat, 8 Mar 2014 00:57:22 +0000
(
00:57
+0000)
committer
Florian Fainelli
<
[email protected]
>
Sat, 8 Mar 2014 00:57:22 +0000
(
00:57
+0000)
Signed-off-by: Florian Fainelli <
[email protected]
>
SVN-Revision: 39818
utils/open2300/Makefile
patch
|
blob
|
history
diff --git
a/utils/open2300/Makefile
b/utils/open2300/Makefile
index ac06decb03ee91737058b6067cc055a7f2a626bd..289cd33027f98a6eafb38c331d366428ed7e230f 100644
(file)
--- a/
utils/open2300/Makefile
+++ b/
utils/open2300/Makefile
@@
-10,7
+10,7
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=open2300
PKG_VERSION:=1.12
-PKG_RELEASE:=
2
+PKG_RELEASE:=
3
PKG_SOURCE_PROTO:=svn
PKG_SOURCE_URL:=http://www.lavrsen.dk/svn/open2300/trunk
@@
-33,6
+33,9
@@
define Package/open2300/description
This is an utility suite used to communicate with and collect data from a WS23XX wheather station.
endef
+MAKE_FLAGS += \
+ CFLAGS="$(TARGET_CFLAGS) -DVERSION=\"$(PKG_VERSION)\""
+
define Package/open2300/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin2300 $(1)/usr/bin/